		<include file="Index/header" />
        <!--sidebar left start-->
        <include file="Index/nav" />
        <!--左侧栏 end-->
        <!--主内容 start-->
        <section class="main-content-wrapper">
            <section id="main-content">
                <!--tiles start-->
                 <div class="row">
                    <div class="col-md-12">
                        <!--breadcrumbs start -->
                        <ul class="breadcrumb">
                            <li><a href="admin.php"><i class="fa fa-dashboard"></i>后台管理</a>
                            </li>
                            <li>菜单管理</li>
                            <li class="active">修改菜单</li>
                        </ul>
                        <!--breadcrumbs end -->
                       
                    </div>
                    
                    <div class="col-md-12">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <h3 class="panel-title">菜单编辑</h3>
                                <div class="actions pull-right">
                                    <i class="fa fa-chevron-down"></i>
                                    <i class="fa fa-times"></i>
                                </div>
                            </div>
                            <div class="panel-body">
                            	<form class="form-horizontal form-border" id="cs_menu_form">
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">菜单名字</label>
                                        <div class="col-sm-6">
                                            <input type="text" name="name" class="form-control" value="{$menu.name}" placeholder="请填写菜单名字">
                                        </div>
                                    </div>
                                    
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">菜单类型</label>
                                        <div class="col-sm-6">
                                            <div class="radio">

                                                <input class="icheck" type="radio"  name="type" value="1"  <if condition="$menu.type eq 1">checked</if>>
                                                <label>后台菜单</label>
                                            </div>
                                            <div class="radio">

                                                <input class="icheck" type="radio" name="type" value="0"  <if condition="$menu.type eq 0">checked</if>>
                                                <label>前台导航</label>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label">模块名</label>
                                        <div class="col-sm-6">
                                            <input type="text" name="m" class="form-control" placeholder="模块名如admin" value="{$menu.m}">
                                        </div>
                                    </div>
									<div class="form-group">
										<label class="col-sm-3 control-label">控制器</label>
										<div class="col-sm-6">
		                                    <input type="text" name="c" class="form-control" placeholder="控制器名如index" value="{$menu.c}">
	                                    </div>
                                	</div>
                                	<div class="form-group">
										<label class="col-sm-3 control-label">方法</label>
										<div class="col-sm-6">
		                                    <input type="text" name="f" class="form-control" placeholder="方法名如index" value="{$menu.f}">
	                                    </div>
                                	</div>
                                	
                                	<div class="form-group">
                                        <label class="col-sm-3 control-label">状态</label>
                                        <div class="col-sm-6">
                                            <div class="radio">

                                                <input class="icheck" type="radio" name="status" value="1"  <if condition="$menu.status eq 1">checked</if> >
                                                <label>开启</label>
                                            </div>
                                            <div class="radio">

                                                <input class="icheck" type="radio" name="status" value="0"  <if condition="$menu.status eq 0">checked</if>>
                                                <label>关闭</label>
                                            </div>
                                        </div>
                                    </div>
                                	<input type="hidden" name="menu_id" id="menu_id" value="{$menu.menu_id}" />
                                    <div class="form-group">
                                        <label class="col-sm-3 control-label"></label>
                                        <div class="col-sm-6">
	                                        <button type="button" id="cs_sub_btn" class="btn btn-primary">更新</button>
                                        </div>
                                    </div>
                                    
                                </form>
                            	
                              
                            </div>
                        </div>
                    </div>
                </div>
                <!--tiles end-->
              
                
            </section>
        </section>
        <!--主内容区 end-->
        <!--右侧工具栏 start-->
        <aside class="sidebarRight">
            <div id="rightside-navigation ">
                <div class="sidebar-heading"><i class="fa fa-user"></i> Contacts</div>
                <div class="sidebar-title">online</div>
                <div class="list-contacts">
                    <a href="javascript:void(0)" class="list-item">
                        <div class="list-item-image">
                            <img src="/Public/assets/img/avatar.gif" class="img-circle">
                        </div>
                        <div class="list-item-content">
                            <h4>James Bagian</h4>
                            <p>Los Angeles, CA</p>
                        </div>
                        <div class="item-status item-status-online"></div>
                    </a>
                    <a href="javascript:void(0)" class="list-item">
                        <div class="list-item-image">
                            <img src="/Public/assets/img/avatar1.gif" class="img-circle">
                        </div>
                        <div class="list-item-content">
                            <h4>Jeffrey Ashby</h4>
                            <p>New York, NY</p>
                        </div>
                        <div class="item-status item-status-online"></div>
                    </a>
                    <a href="javascript:void(0)" class="list-item">
                        <div class="list-item-image">
                            <img src="/Public/assets/img/avatar2.gif" class="img-circle">
                        </div>
                        <div class="list-item-content">
                            <h4>John Douey</h4>
                            <p>Dallas, TX</p>
                        </div>
                        <div class="item-status item-status-online"></div>
                    </a>
                    <a href="javascript:void(0)" class="list-item">
                        <div class="list-item-image">
                            <img src="/Public/assets/img/avatar3.gif" class="img-circle">
                        </div>
                        <div class="list-item-content">
                            <h4>Ellen Baker</h4>
                            <p>London</p>
                        </div>
                        <div class="item-status item-status-away"></div>
                    </a>
                </div>

                <div class="sidebar-title">offline</div>
                <div class="list-contacts">
                    <a href="javascript:void(0)" class="list-item">
                        <div class="list-item-image">
                            <img src="/Public/assets/img/avatar4.gif" class="img-circle">
                        </div>
                        <div class="list-item-content">
                            <h4>Ivan Bella</h4>
                            <p>Tokyo, Japan</p>
                        </div>
                        <div class="item-status"></div>
                    </a>
                    <a href="javascript:void(0)" class="list-item">
                        <div class="list-item-image">
                            <img src="/Public/assets/img/avatar5.gif" class="img-circle">
                        </div>
                        <div class="list-item-content">
                            <h4>Gerald Carr</h4>
                            <p>Seattle, WA</p>
                        </div>
                        <div class="item-status"></div>
                    </a>
                    <a href="javascript:void(0)" class="list-item">
                        <div class="list-item-image">
                            <img src="/Public/assets/img/avatar6.gif" class="img-circle">
                        </div>
                        <div class="list-item-content">
                            <h4>Viktor Gorbatko</h4>
                            <p>Palo Alto, CA</p>
                        </div>
                        <div class="item-status"></div>
                    </a>
                </div>
            </div>
        </aside>
        <!--sidebar right end-->
    </section>
    <!--Global JS-->
    <script src="/Public/assets/js/jquery-1.10.2.min.js"></script>
    <script src="/Public/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
    <script src="/Public/assets/plugins/waypoints/waypoints.min.js"></script>
    <script src="/Public/assets/js/application.js"></script>
    <script src="/Public/js/dialog/layer.js"></script>
    <script src="/Public/js/dialog.js"></script>
    <!--Page Level JS-->
    <script src="/Public/assets/plugins/countTo/jquery.countTo.js"></script>
    <script src="/Public/assets/plugins/weather/js/skycons.js"></script>
    <script src="/Public/assets/plugins/icheck/js/icheck.min.js"></script>
    <!--Load these page level functions-->
    <script src="/Public/js/admin/common.js" type="text/javascript" charset="utf-8"></script>
    <script>
    
    var SCOPE={
			'add_url':'/admin.php?c=menu&a=add',
			'jump_url':'/admin.php?c=menu',
		}
    	
       $(document).ready(function() {
        $('input').iCheck({
            checkboxClass: 'icheckbox_flat-grey',
            radioClass: 'iradio_flat-grey'
        });

    });
    </script>   

</body>

</html>